import request from '@/utils/request.js';

export function ask(params) {
  return request({
    url: '/ask',
    method: 'get',
    params,
  });
}

export function tts(params) {
  return request({
    url: '/synthesizer/ali',
    method: 'get',
    responseType: 'blob',
    params,
  });
}
